package com.wjqy.service;

import com.wjqy.entity.Active;
import com.wjqy.entity.Recommend;
import com.wjqy.entity.Scenic;
import com.wjqy.entity.User;

import java.util.Date;
import java.util.List;

public interface AdminService {

    List<Scenic> findAllScenic();

    List<Scenic> findScenicLike(Scenic scenic);

    int countScenic();

    int insertScenic(Scenic scenic);

    int deleteScenic(int id);

    int updateScenic(Scenic scenic);

    List<Active> findAllActivies(int id);

    int insertActive(Active active);

    int deleteActive(int id);

    int updateActive(Active active);

    List<Recommend> findAllRcmd(int id);

    int insertRecommend(Recommend rcmd);

    int deleteRecommend(int id);

    int updateRecommend(Recommend rcmd);

    int createCdkey(int num, int scenicId);

    boolean changeUserStatus(User user);

    List<User> listVerifyUser();

    boolean setTopLevel(User user);

}
